package com.cloud.hotline.api.consts;

import com.cloud.hotline.common.utils.DateHelper;
import com.cloud.hotline.common.utils.ExcelField;

public class HotLineConsts {
	// 诉求三率：市级回访
	public static final Integer DATA_TYPE_CITY_REVISIT = 1;
	// 诉求三率：区级回访
	public static final Integer DATA_TYPE_AREA_REVISIT = 2;
	// 街道承办
	public static final Integer DATA_TYPE_STREET_UNDERTAKE = 3;
	// 部门承办
	public static final Integer DATA_TYPE_UNIT_UNDERTAKE = 4;
	
	/**
	 * 诉求三率模板字段
	 */
	public static final String[] FIELDS_REVISIT_RECORD = new String[] { 
			"yesswNum", 
			"dispatchTime", 
			"revisitType",
			"unitName", 
			"recordSrcName", 
			"recordDesc", 
			"recordHandleProc", 
			"reporterName", 
			"callNum", 
			"contactFlag",
			"answerFlag",
			"finishFlag", 
			"pleasedFlag", 
			"dispatchType", 
			"recNum", 
			"remark" 
	};
	
	/**
	 * 街道承办模板字段
	 */
	public static final String[] FIELDS_STREET_RECORD = new String[] { 
			"", 
			"yesswNum", 
			"recordTypeName", 
			"reporterName",
			"recordDesc", 
			"address", 
			"callNum", 
			"dispatchType", 
			"unitName", 
			"nonstatReason" 
	};
	
	/**
	 * 部门承办模板字段
	 */
	public static final String[] FIELDS_UNIT_RECORD = new String[]{
			"yesswNum",
			"reportTime",
			"streetName",
			"recordTypeName",
			"reporterName",
			"recordDesc",
			"address",
			"callNum",
			"unitName",
			"recState",
			"recNum",
			"streetSection",
			"eventSrcName",
			"taskNum",
			"districtName",
			"handleEnd",
			"handleDeadline",
			"finishDate",
			"handleDesc",
			"superviseDomain",
			"superviseCategory",
			"superviseType",
			"superviseSubType",
			"superviseSubType2",
			"superviseSubType3",
			"superviseSubType4",
			"community",
			"gridName",
			"handleHumanName",
			"currentActName",
			"contact",
			"forceFinishType",
			"deleyTypeName",
			"govStyleNum",
			"sx96010Num",
			"sx12345Num",
			"wxNum",
			"topicLayer",
			"layerRegion",
			"finishOpinion",
			"issueLevel",
			"coordinateY",
			"coordinateX",
			"recId",
			"cityFinishTime",
			"finishType",
			"returnVisitFlag",
			"unitVisitFlag",
			"unitFeedback",
			"pleasedFlag",
			"sloveFlag",
			"efficiencyEvaluate",
			"timeUsed",
			"feedbackTime",
			"finishFlag",
			"callbackHuman",
			"callbackStatus",
			"overdueFlag",
			"dataType",
			"city12345Flag"
	};

	
	/**
	 * 诉求三率表头
	 */
	public static final ExcelField[] HEADERS_REVISIT_RECORD = new ExcelField[] {
			new ExcelField("市长热线编号", "yesswNum"),
			new ExcelField("派单时间", "dispatchTime", DateHelper.DATETIME_FORMAT, ExcelField.DATETYPE_DATETIME, 3),
			new ExcelField("回访方式", "revisitType"),
			new ExcelField("处置部门", "unitName"),
			new ExcelField("问题来源", "recordSrcName"),
			new ExcelField("问题描述", "recordDesc"),
			new ExcelField("办理经过", "recordHandleProc"),
			new ExcelField("举报人", "reporterName"),
			new ExcelField("来电号码", "callNum"),
			new ExcelField("回访组联系公众", "callNum"),
			new ExcelField("专业部门反馈", "answerFlag"),
			new ExcelField("问题解决", "finishFlag"),
			new ExcelField("问题处理满意", "pleasedFlag"),
			new ExcelField("市级12345派遣方式", "dispatchType"),
			new ExcelField("案件号", "recNum"),
			new ExcelField("备注", "remark"),
			new ExcelField("错误信息", "errorMsg")
	};

	/**
	 * 街道承办表头
	 */
	public static final ExcelField[] HEADERS_STREET_RECORD = new ExcelField[]{
			new ExcelField("12345工单号", "yesswNum"),
			new ExcelField("问题分类", "recordTypeName"),
			new ExcelField("来电人", "reporterName"),
			new ExcelField("主要内容", "recordDesc"),
			new ExcelField("问题点位", "address"),
			new ExcelField("联系方式", "callNum"),
			new ExcelField("问题来源", "dispatchType"),
			new ExcelField("属地街道", "unitName"),
			new ExcelField("不计入考核理由", "nonstatReason"),
			new ExcelField("错误信息", "errorMsg")
	};
	
	/**
	 * 部门承办表头
	 */
	public static final ExcelField[] HEADERS_UNIT_RECORD = new ExcelField[]{
			new ExcelField("市长热线编号", "yesswNum"),
			new ExcelField("上报时间", "reportTime", DateHelper.DATETIME_FORMAT, ExcelField.DATETYPE_DATETIME, 3),
			new ExcelField("街道", "streetName"),
			new ExcelField("监管事项小类", "recordTypeName"),
			new ExcelField("举报人", "reporterName"),
			new ExcelField("问题描述", "recordDesc"),
			new ExcelField("地址", "address"),
			new ExcelField("来电号码", "callNum"),
			new ExcelField("处置部门", "unitName"),
			new ExcelField("问题状态", "recState"),
			new ExcelField("案件号", "recNum"),
			new ExcelField("分段街道", "streetSection"),
			new ExcelField("问题来源", "eventSrcName"),
			new ExcelField("任务号", "taskNum"),
			new ExcelField("区域", "districtName"),
			new ExcelField("处置结束时间", "handleEnd"),
			new ExcelField("处置截止时间", "handleDeadline", DateHelper.DATETIME_FORMAT, ExcelField.DATETYPE_DATETIME, 3),
			new ExcelField("结案时间", "finishDate"),
			new ExcelField("办理经过", "handleDesc"),
			new ExcelField("监管领域", "superviseDomain"),
			new ExcelField("监管类别", "superviseCategory"),
			new ExcelField("监管事项大类", "superviseType"),
			new ExcelField("监管事项细I", "superviseSubType"),
			new ExcelField("监管事项细II", "superviseSubType2"),
			new ExcelField("监管事项细III", "superviseSubType3"),
			new ExcelField("监管事项细IV", "superviseSubType4"),
			new ExcelField("社区", "community"),
			new ExcelField("责任网格", "gridName"),
			new ExcelField("经办人", "handleHumanName"),
			new ExcelField("当前阶段", "currentActName"),
			new ExcelField("联系方式", "contact"),
			new ExcelField("强制结案类型", "forceFinishType"),
			new ExcelField("延期类型", "deleyTypeName"),
			new ExcelField("政风行风编号", "govStyleNum"),
			new ExcelField("首信96010编号", "sx96010Num"),
			new ExcelField("首信12345编号", "sx12345Num"),
			new ExcelField("微信系统编号", "wxNum"),
			new ExcelField("专题图层区域", "topicLayer"),
			new ExcelField("图层区域", "layerRegion"),
			new ExcelField("结案意见", "finishOpinion"),
			new ExcelField("问题等级", "issueLevel"),
			new ExcelField("Y坐标", "coordinateY"),
			new ExcelField("X坐标", "coordinateX"),
			new ExcelField("案件标识", "recId"),
			new ExcelField("市级截止时间", "cityFinishTime", DateHelper.DATETIME_FORMAT, ExcelField.DATETYPE_DATETIME, 3),
			new ExcelField("结案类型", "finishType"),
			new ExcelField("回访组联系公众", "returnVisitFlag"),
			new ExcelField("部门联系公众", "unitVisitFlag"),
			new ExcelField("专业部门反馈", "unitFeedback"),
			new ExcelField("问题处理满意", "pleasedFlag"),
			new ExcelField("问题解决", "sloveFlag"),
			new ExcelField("问题处置效率评价", "efficiencyEvaluate"),
			new ExcelField("处置用时", "timeUsed"),
			new ExcelField("回访时间", "feedbackTime"),
			new ExcelField("结案数", "finishFlag"),
			new ExcelField("回访人员", "callbackHuman"),
			new ExcelField("回访状态", "callbackStatus"),
			new ExcelField("超时结案数", "overdueFlag"),
			new ExcelField("市级12345派遣方式", "city12345Flag"),
			new ExcelField("错误信息", "errorMsg")
	};
}
